//package org.example.test.websoket;
//import org.springframework.ai.ollama.OllamaChatClient;
//import org.springframework.ai.chat.messages.ChatMessage;
//import org.springframework.context.annotation.Bean;
//import org.springframework.context.annotation.Configuration;
//
//@Configuration
//public class OllamaConfig {
//
//    @Bean
//    public OllamaChatClient ollamaChatClient() {
//        return new OllamaChatClient(); // 直接创建 Ollama 客户端
//    }
//}
